
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont el-icon-app-liebiao"></i>
                    <div class="name">列表</div>
                    <div class="fontclass">.el-icon-app-liebiao</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-weibiaoti1"></i>
                    <div class="name">人物</div>
                    <div class="fontclass">.el-icon-app-weibiaoti1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-hongbao"></i>
                    <div class="name">红包</div>
                    <div class="fontclass">.el-icon-app-hongbao</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-tuikuan"></i>
                    <div class="name">红包</div>
                    <div class="fontclass">.el-icon-app-tuikuan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-sixin"></i>
                    <div class="name">私信</div>
                    <div class="fontclass">.el-icon-app-sixin</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-zhangdan"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.el-icon-app-zhangdan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-zhangdan1"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.el-icon-app-zhangdan1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-hongbao1"></i>
                    <div class="name">红包</div>
                    <div class="fontclass">.el-icon-app-hongbao1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-hongbao-m"></i>
                    <div class="name">红包-互动</div>
                    <div class="fontclass">.el-icon-app-hongbao-m</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-email"></i>
                    <div class="name">信息</div>
                    <div class="fontclass">.el-icon-app-email</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian1"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian2"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-hongbao2"></i>
                    <div class="name">红包</div>
                    <div class="fontclass">.el-icon-app-hongbao2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-renyuan"></i>
                    <div class="name">人物-@</div>
                    <div class="fontclass">.el-icon-app-renyuan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-ren"></i>
                    <div class="name">人物-人</div>
                    <div class="fontclass">.el-icon-app-ren</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-hongbao3"></i>
                    <div class="name"> 红包</div>
                    <div class="fontclass">.el-icon-app-hongbao3</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-dkw_zhangdan"></i>
                    <div class="name">dkw_账单</div>
                    <div class="fontclass">.el-icon-app-dkw_zhangdan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-conversation_icon"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-conversation_icon</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-chat"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-chat</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian3"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian3</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-sixin1"></i>
                    <div class="name">私信</div>
                    <div class="fontclass">.el-icon-app-sixin1</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-sixin2"></i>
                    <div class="name">私信</div>
                    <div class="fontclass">.el-icon-app-sixin2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-zhangdan2"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.el-icon-app-zhangdan2</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-zhangdan3"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.el-icon-app-zhangdan3</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-character"></i>
                    <div class="name">人物</div>
                    <div class="fontclass">.el-icon-app-character</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-character-mind"></i>
                    <div class="name">人物-关注</div>
                    <div class="fontclass">.el-icon-app-character-mind</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-character-avatar"></i>
                    <div class="name">人物-头像</div>
                    <div class="fontclass">.el-icon-app-character-avatar</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-icon--"></i>
                    <div class="name">账单</div>
                    <div class="fontclass">.el-icon-app-icon--</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-icon-test"></i>
                    <div class="name">人物</div>
                    <div class="fontclass">.el-icon-app-icon-test</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian4"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian4</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-hongbao4"></i>
                    <div class="name">红包</div>
                    <div class="fontclass">.el-icon-app-hongbao4</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-Shapecopy"></i>
                    <div class="name">人物，我的</div>
                    <div class="fontclass">.el-icon-app-Shapecopy</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian5"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian5</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-ziyuan"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-ziyuan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-renwu-tuandui"></i>
                    <div class="name">人物-团队</div>
                    <div class="fontclass">.el-icon-app-renwu-tuandui</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-renwu-ren"></i>
                    <div class="name">人物-人</div>
                    <div class="fontclass">.el-icon-app-renwu-ren</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-liaotian6"></i>
                    <div class="name">聊天</div>
                    <div class="fontclass">.el-icon-app-liaotian6</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-sixin3"></i>
                    <div class="name">私信</div>
                    <div class="fontclass">.el-icon-app-sixin3</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-renwu"></i>
                    <div class="name">人物</div>
                    <div class="fontclass">.el-icon-app-renwu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-zhangdan4"></i>
                    <div class="name">账单-业务查询</div>
                    <div class="fontclass">.el-icon-app-zhangdan4</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-app-renwu1"></i>
                    <div class="name">人物</div>
                    <div class="fontclass">.el-icon-app-renwu1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">el-icon-app-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
